package com.buer.storage.dto;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("buer_worderdetails")
public class WorderdetailsDto{
    @TableId(type = IdType.AUTO)
    private Integer detailsId;
    private String prodCode;
    private String prodName;
    private String prodImg;
    private String prodSpecial;
    private String prodBatch;
    private Integer prodNum;
    private Integer prodPrice;
    private Integer prodArea;
    private Integer prodDepart;
    private String areaName;
    private String departmentCode;
    private String emit;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String prodDate;
    private Integer warehouseId;
    private Integer worderPutid;
    private Integer categoryTwoId;
    private String categoryTwoName;
    private Integer supplierId;
    private Integer prodStatus;
}
